package maven.demo2;

public class Dog extends Animal {
    public void eat() {
        System.out.println("Dog具有的eat方法");
    }

    public void watchDoor() {
        System.out.println("Dog 可以看门");
    }
}
